package com.zx.framework.plat.user.po;

import java.sql.Timestamp;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;


/**
 * UserRankLog entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name="s_user_rank_log")

public class UserRankLog  implements java.io.Serializable {


    // Fields    

     private String id;
     private String userId;
     private String rankType;
     private Double score;
     private Timestamp createTime;
     private String remark;


    // Constructors

    /** default constructor */
    public UserRankLog() {
    }

	/** minimal constructor */
    public UserRankLog(String id, String userId, String rankType) {
        this.id = id;
        this.userId = userId;
        this.rankType = rankType;
    }
    
    /** full constructor */
    public UserRankLog(String id, String userId, String rankType, Double score, Timestamp createTime, String remark) {
        this.id = id;
        this.userId = userId;
        this.rankType = rankType;
        this.score = score;
        this.createTime = createTime;
        this.remark = remark;
    }

   
    // Property accessors
    @Id 
    
    @Column(name="ID", unique=true, nullable=false, length=64)

    public String getId() {
        return this.id;
    }
    
    public void setId(String id) {
        this.id = id;
    }
    
    @Column(name="USERID", nullable=false, length=64)

    public String getUserId() {
        return this.userId;
    }
    
    public void setUserId(String userId) {
        this.userId = userId;
    }
    
    @Column(name="RANKTYPE", nullable=false, length=64)

    public String getRankType() {
        return this.rankType;
    }
    
    public void setRankType(String rankType) {
        this.rankType = rankType;
    }
    
    @Column(name="SCORE", precision=10)

    public Double getScore() {
        return this.score;
    }
    
    public void setScore(Double score) {
        this.score = score;
    }
    
    @Column(name="CREATETIME", length=19)

    public Timestamp getCreateTime() {
        return this.createTime;
    }
    
    public void setCreateTime(Timestamp createTime) {
        this.createTime = createTime;
    }
    
    @Column(name="REMARK", length=100)

    public String getRemark() {
        return this.remark;
    }
    
    public void setRemark(String remark) {
        this.remark = remark;
    }
   








}